<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CSS选择器</title>
	<style type="text/css">
		p{color: blue;}
		#testP{font-size: 24px;}
		.testClass{border: 5px solid brown;}
	</style>
</head>
<body>
	<h2 id="testP">冬夜读书示子聿</h2>
	<p class="testClass">宋代•陆游</p>
	<p>古人学问无遗力</p>
	<p>少壮工夫老始成</p>
	<p>纸上得来终觉浅</p>
	<p>绝知此事要躬行</p>
</body>
</html>